<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8" isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>shopping</title>
</head>
<body>
<div style="text-align: right"><h4>name: ${cust.name }</h4></div>
<div>
  	<c:forEach items="${list }" var="book">
  		<div style="float: left">
  			<img alt="${book.title}" src="../images/${book.title }.png">
  			<h5><a href="../buy?id=${book.bId }&title=${book.title }">加入购物车</h5>
  		</div>
  	</c:forEach>
  	<!--  <div style="clear: both"><input type="button" value="查看购物车" onclick="window.location='localhost:8080/shopDemo/shop/test.jsp'"></div>-->
  	<div style="clear: both"><a href="../shop/payment.jsp">查看购物车</a></div>
</div>
</body>
</html>